package com.guochenglang.www.pojo;

import com.guochenglang.www.pojo.annotate.Table;

/**
 * 收藏文章表
 *
 * @author GuoChenglang
 */
@Table("collect_article")
public class CollectArticle {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 文章id
     */
    private Integer articleId;
    /**
     * 用户id
     */
    private Integer userId;

    public CollectArticle(Integer userId, Integer id, Integer articleId) {
        this.userId = userId;
        this.id = id;
        this.articleId = articleId;
    }

    public CollectArticle() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
